package com.info.zhiduoduo.repository.dto.partner;

import com.info.zhiduoduo.repository.dto.marketingcooperative.MarketingCooperativePartnerDto;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class PartnerBriefDto {

	//合伙人ID
	private int partnerid;
	//推广码
	private String promoCode;
	//合伙人创建日期
	private Date createtime;
	//姓名
	private String realname;
	//手机号码
	private String phone;
	//银行卡号
	private String acctno;
	//身份证正面
	private String idfrontimg;
	//身份证反面
	private String idbackimg;
	//未提现
	private BigDecimal noCash;
	//已提现
	private BigDecimal hasBeenProposed;
	//已审核合伙人关联的企业
	private List<RelationshipDto> relationshipList;
	@ApiModelProperty("合伙人关联的创客")
	private List<MakerRelationshipDto> makerRelationshipList;
	//实名表ID
	private int acctid;
	private String inviteCode;
	private String inviter;
	//就职企业
	private String workCompany;
	//所在城市
	private String city;
	//邮箱
	private String email;
	//商务经理id
	private int businessManagerId;
	//商务经理名称
	private String businessManager;
	//1：微信 2：后台手动创建
	private int regfrom;
	/**
	 * 是否接收公告 0：正常 1：不接受
	 */
	private Integer noticeFlag;
	private int lastSeasonCount;
	private int currSeasonCount;

	@ApiModelProperty("上级合伙人id")
	private int upPartnerid;
	@ApiModelProperty("上级合伙人姓名")
	private String upPartnerName;
	@ApiModelProperty("下级合伙人数量")
	private int subPartnerCount;
	@ApiModelProperty("行业分类")
	private String industry;
	@ApiModelProperty("从事时间")
	private String occupiedTime;
	@ApiModelProperty("业务区域")
	private String area;
	@ApiModelProperty("资源类型")
	private String resource;
	@ApiModelProperty("规模")
	private String scale;
	@ApiModelProperty("合伙人类型（1：个人，2：机构）")
	private int partnerType;
	@ApiModelProperty("提现类型 1:自提 2:线下转账(工作室发单模式) ")
	private int remitType;
	@ApiModelProperty("合伙人备注")
	private String partnerRemark;
	@ApiModelProperty("其他信息")
	private String extraInfo;
	@ApiModelProperty("合伙生效日期")
	private Date effectivedate;
	@ApiModelProperty("合伙截止日期")
	private Date expiredate;
	@ApiModelProperty("月份(超过8000的月份)")
	private String month;
	@ApiModelProperty("月份的总佣金(超过8000的月份)")
	private BigDecimal totalBrokerage;
	@ApiModelProperty("合伙人绑定的创客工作室id, 0表示未绑定")
	private int sutdioId;
	@ApiModelProperty("合伙人创客姓名")
	private String studioRealname;
	@ApiModelProperty("合伙人创客工作室名称")
	private String studioUsername;
	//是否为众包合伙人：1.是，2.否
	@ApiModelProperty("是否为众包合伙人")
	private int whetherCrowdPartner;
	//众包基础费率
	@ApiModelProperty("众包基础费率")
	private String crowdBasicsRate;

	@ApiModelProperty("是否开启众包成本分佣功能 1:否 2:是 ")
	private Integer crowdCostState;
	@ApiModelProperty("众包成本价基础比例")
	private double crowdCostPrimaryRate;
	@ApiModelProperty("众包成本价第二档比例")
	private double crowdCostSecondaryRate;
	@ApiModelProperty("众包成本价第二档总金额")
	private BigDecimal crowdCostSecondaryAmount;
	@ApiModelProperty("上级众包合伙人id")
	private int upCrowdPartnerid;
	@ApiModelProperty("上级众包合伙人姓名")
	private String upCrowdPartnerName;
	@ApiModelProperty("下级众包合伙人数量")
	private int subCrowdPartnerCount;
	@ApiModelProperty("抗原分销企业id")
	private int vaccineCompid;
	@ApiModelProperty("抗原分销企业名称")
	private String vaccineCompname;
	@ApiModelProperty("抗原分销海报路径")
	private String vaccinePoster;
	@ApiModelProperty("是否开通抗原分销功能 0：否 1：是")
	private int vaccineFlag;
	@ApiModelProperty("合销云合伙人绑定的企业列表")
	private List<MarketingCooperativePartnerDto> marketingCooperativeList;
}
